<template>
    <div id="container">
        <modal :visible="visible" @on-no="no" @on-yes="yes">
            <!-- <template #title>
                <h3>头部</h3>
            </template>
            <template #body>
                <h3>主体</h3>
            </template> -->
        </modal>
        <button @click="showModal">点击显示模态框</button>
        <container2></container2>
      
    </div>
</template>
<script>
  
    import container2 from "../container2"
    import modalMix from '../../../mixins/modal'

   
    export default{
        mixins:[modalMix],
        components:{
            container2,
        },
       
     }
    
  

</script>